package cn.xopencode.userservice.dal.mysql.mapper;

import cn.xopencode.userservice.dal.mysql.dataobject.UserDO;
import cn.xopencode.userservice.rpc.user.dto.UserPageDTO;
import cn.xopencode.userservice.rpc.user.dto.UserDTO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 员工用户信息表 Mapper 接口
 * </p>
 *
 * @author xiaodawei
 * @since 2021-09-14
 */
public interface UserMapper extends BaseMapper<UserDO> {


    Page<UserDTO> findUserList(Page<UserDTO> page, @Param("userPageDTO") UserPageDTO userPageDTO);


}
